<!doctype html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>Spark pie chart example</title>
		<script type="text/javascript" src="../../lib/jquery-1.4.4.js"></script>
		<script type="text/javascript" src="../../lib/jquery.jqplot.js"></script>
		<script type="text/javascript" src="../../lib/jqplot.pieRenderer.js"></script>
		<script type="text/javascript" src="../../src/jquery.spark.js"></script>
		<link rel="stylesheet" href="../screen.css" type="text/css" media="screen, projection">
		<link rel="stylesheet" href="../print.css" type="text/css" media="print">
		<link rel="stylesheet" href="../../lib/jquery.jqplot.min.css" type="text/css">
	</head>
	<body>
		<div class="container">
			<div class="span-24 last prepend-top">
				<h1>Spark pie chart example</h1>
				<p>
					This spark goes to DBpedia, asking for the population of
					the former Yugoslav countries.
					<div class="spark"
						data-spark-endpoint="piechart.sparql"
						data-spark-format="http://km.aifb.kit.edu/sites/spark/src/jquery.spark.piechart.js"
						data-spark-query="select distinct ?entity ?label ?value
							where {
								?entity dbpprop:callingCode ?cc .
								?entity rdfs:label ?label .
								?entity dbpprop:populationEstimate ?value .
								filter(langMatches(lang(?label), &quot;en&quot;)) .
								filter(?cc &gt; 380) .
								filter(?cc &lt; 390) .
							}"
					>
						<em>loading&hellip;</em>
					</div>
				</p>
				<p>
					<a href="index.html">[back to gallery]</a>
				</p>
			</div>
		</div>
	</body>
</html>